package com.zzedu.params.content;

import com.alibaba.fastjson2.annotation.JSONField;
import org.springframework.web.multipart.MultipartFile;

public class VideoParams {
    /**
     * 视频文件
     */
    @JSONField(serialize = false)
    private MultipartFile file;

    /**
     * 视频地址
     */
    private String videoUrl;

    /**
     * 视频文件ID
     */
    private Long id;

    /**
     * 上传文件url
     */
    private String httpFileUrl;

    /**
     * 额外数据
     */
    private String extraKey;

    /**
     * 文件名称
     */
    private String name;

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getHttpFileUrl() {
        return httpFileUrl;
    }

    public void setHttpFileUrl(String httpFileUrl) {
        this.httpFileUrl = httpFileUrl;
    }

    public String getExtraKey() {
        return extraKey;
    }

    public void setExtraKey(String extraKey) {
        this.extraKey = extraKey;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
